home *** CD-ROM | disk | FTP | other *** search
/ Directorty Opus 5 - Magellan 2 / Opus 5 - Magellan 2.iso / Extras / DOPbt3 / 3 / ID-edit.txt < prev    next >
Text File  |  1996-06-13  |  3KB  |  85 lines

  1. ##
  2. ## $VER: OPUS.FILE_ID.diz shit again.txt 1.0
  3. ##
  4.  
  5. Again I come to file_id.diz thingies :-)
  6.  
  7. Want to edit file_id.diz INSIDE any archive ?? Here is how !
  8.  
  9. Go to config editor in opus, choose filetypes, and pick (for example)
  10. LHA.archives. Pick event USER3, and enter:
  11.  
  12. AmigaDOS    C:LHA x {fu} FILE_ID.DIZ ram:
  13. AmigaDOS    C:CED ram:FILE_ID.DIZ
  14. AmigaDOS    C:WaitBUTTON
  15. AmigaDOS    C:LHA d {fu} FILE_ID.DIZ
  16. AmigaDOS    C:LHA a {fu} ram:FILE_ID.DIZ
  17. AmigaDOS    C:DELETE ram:FILE_ID.DIZ
  18.  
  19. DO ALL FILES
  20. OUTPUT WINDOW as flags.
  21.  
  22. (in order: line 1 -> EXtract file_id.diz
  23.            line 2 -> use CED in C: to edit the file
  24.            line 3 -> Wait till you are ready editing
  25.            line 4 -> DELETE FILE_ID.diz from archive
  26.            line 5 -> ADD FILE_ID.diz to archive
  27.            line 6 -> delete file_id.diz from ram: )
  28.  
  29. Make a button labeled EDIT ID, and enter command USER3, set
  30. DO ALL FILES
  31. INCLUDE DOPUS-STARTUP
  32. OUTPUT WINDOW
  33. as flags, and try it on a LHA-archive...
  34.  
  35. EXAMPLE 2:
  36.  
  37. in filetypes pick DMS archive, select USER3 as an event, and enter:
  38.  
  39. AmigaDOS    C:DMSDESCRIPT x ram:FILE_ID {fu}
  40. AmigaDOS    C:CED ram:FILE_ID
  41. AmigaDOS    C:WaitBUTTON
  42. AmigaDOS    C:DMSDESCRIPT d {fu}
  43. AmigaDOS    C:DMSDESCRIPT a ram:FILE_ID {f}
  44. AmigaDOS    C:DELETE ram:FILE_ID
  45.  
  46. DO ALL FILES
  47. OUTPUT WINDOW
  48. as flags.
  49.  
  50. (in order:  same as for LHA-archive...above)
  51.  
  52. Return to OPUS, pick a DMS archive, and choose the button made with LHA
  53. just a minute ago (EDIT ID ?). Hey, this is fun. It lets me edit (add) a
  54. file_id to a dms archive !!
  55.  
  56. You can use the button with every archive (even executables using
  57. exedescript !) that supports unpacking of a specified file, than
  58. deleting it, and adding a new file to the archive (read the DOCS...).
  59. AS LONG AS YOU ADD THE CORRECT COMMAND TO USER3 IN THE FILETYPES !
  60.  
  61. PS. You can ofcourse change C:CED to YOUR fav editor !!
  62.  
  63. Let me know what you think, and if you use it (and why not...?).
  64.  
  65.  
  66.        ·······························································
  67.        .#.####..............................................####.#..#.
  68.        ##.#..#........._______....______......_______.......#..#.#..#.
  69.        .#.####......../      /....|     \.....\      .......####.####.
  70.        .#....#......./______/.....|______|.....\      .........#....#.
  71.        .#.####....../      /......|      |......\      .....####....#.
  72.        ............/....../.......|_____/........\_______.............
  73.        ...............................................................
  74.        .............ABC, THE CUTEST LAMER IN THE BUSINESS.............
  75.        .                                                             .
  76.        .                   Niels van \X/illigenburg                  .
  77.        .______                 Millingenhof 123                ______.
  78.        /      \             NL-1106 KH   AMSTERDAM            /      \
  79.        | O  O |                  Netherlands                  | O  O |
  80.        |  /\  |                    Europe                     |  /\  |
  81.        | \__/ |               +31 (0)20-6979932               | \__/ |
  82.        .\____/               FIDO -> 2:280/464.17              \____/.
  83.        .                          -> niels@aobh.xs4all.nl            .
  84.        ·······························································
  85.